package com.project.pojo.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Description: 系统扣款入参类
 * @Author: zhuchi
 * @CreateDate: 2020/12/15 10:16
 * @Version: 1.0
 */
@Data
@ApiModel(value = "系统扣款入参类")
public class UpdateDeductionModel {

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    @NotNull(message = "请选择要扣款的用户")
    private Long baseUserId;

    /**
     * 扣款金额
     */
    @ApiModelProperty(value = "扣款金额")
    @NotNull(message = "请输入扣款金额")
    private BigDecimal amount;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String description;

}
